package com.tiancheng.trade.merchant.service;

import com.tiancheng.trade.merchant.model.Business;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

import javax.annotation.Resource;

/**
 * @Author: kellen
 * @Description: 服务管理测试类
 * @Date: create in 2024/11/22 11:16
 */
@SpringBootTest
public class BusinessServiceImpl {

    @Resource
    private IBusinessService businessService;

    @Test
    public void insertTest(){
        /*final Business business = new Business();
        business.setIsDelete(0);
        business.setBusinessName("天成文旅");
        business.setIconUrl("http://dhjt.chinaums.com/online-pay-doc/res/img/umslogo.jpg");
        businessService.newBusiness(business);*/


        /*final Business business = new Business();
        business.setIsDelete(0);
        business.setBusinessName("天成智慧物业");
        business.setIconUrl("http://dhjt.chinaums.com/online-pay-doc/res/img/umslogo.jpg");
        businessService.newBusiness(business);*/

        final Business business = new Business();
        business.setIsDelete(0);
        business.setBusinessName("天成商城");
        business.setIconUrl("http://dhjt.chinaums.com/online-pay-doc/res/img/umslogo.jpg");
        businessService.newBusiness(business);
    }
}
